import json
from turtle import st

def cut(s):
    z = s.split("""
"
                """)
    zb = []
    for i in z:
        zb.append(i.split(" "))
    zr = []
    for i in range(len(zb)):
        if i%2 == 1:
            zr.append("".join(zb[i]))
        else:
            for j in zb[i]:
                zr.append(j)
    return zr

def kg(s):
    kr = {}
    for i in range(len(s), step=2):
        kr[s[i]] = s[i+1]
    return kr
         

while True:
    try:
        print("┏━━━content@API:command_line")
        print("┗━━━", end="")
        data = input()
        if data == "exit":
            break
        if data == "help":
            print("Enter command or type 'exit' to quit:")
            print("commands:")
            print("download")
        if cut(data)[0] == "download":
            k = kg(data[11, len[data]])
            with open("COMMANDARGS.json", "w") as f:
                json.dump(k, f)
    except Exception as e:
        print(e)